package com.quizzer.system.dto.user.appUser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 小程序用户查询 DTO
 * 用于按条件查询小程序用户信息，可选分页
 *
 * @author rong
 * @date 2025/10/7 19:50
 */
@Data
@ApiModel(description = "小程序用户查询 DTO")
public class AppUserQueryDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "小程序用户ID", example = "1")
    private Long id;

    @ApiModelProperty(value = "微信/小程序唯一标识", example = "oT9xxxx123")
    private String openid;

    @ApiModelProperty(value = "用户名/昵称", example = "张三")
    private String username;

    @ApiModelProperty(value = "头像地址", example = "https://example.com/avatar.jpg")
    private String avatarUrl;

    @ApiModelProperty(value = "性别：0未知 1男 2女", example = "1")
    private Integer gender;

    @ApiModelProperty(value = "状态：1正常 0禁用", example = "1")
    private Integer status;

}
